package com.mdd.common.enums.order.status;

/**
 * 租赁订单状态
 * {@code @Description}
 * {@code @Author} zyg
 * {@code @Date} 2023/11/3 14:09
 **/
public enum RentOrderStatusEnum {
   UN_PAY(0,"待支付"),
   UN_SIGN(1,"待签约"),
   READING_CAR(2,"车辆准备中"),
   UN_GET(3,"待提车"),
   LEASING(4,"租赁中"),
   UN_SETTLE(5,"待结算"),
   UN_CONFIRM(6,"待确认"),
   FINISH(7,"已完成"),
   CANCEL(8,"已取消")
    ;
    private final int code;
    private final String msg;

    RentOrderStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
